ConditionDefinition Class

A "<Condition>" element from an SLK Settings XML file, i.e. an XML file with schema "urn:schemas-microsoft-com:sharepoint-learning-kit:settings".

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public class ConditionDefinition

Properties
Name Description
Ð LineNumber

The line number of the "<Condition>" element with the XML file.

Ð MacroName

The value of the "MacroName" attribute. This is the name of the macro variable that the value (if any) that the database column value is being compared against; null if no macro name was specified.

Ð NoConditionOnNull

The value of the "NoConditionOnNull" attribute. If true, then this condition is omitted from the query if the value of the macro is null.

Ð Operator

The value of the "Operator" attribute. This is the operator used to compare the database column value with the value obtained using the Value or MacroName property.

Ð Value

The value of the "Value" attribute. This is the value (if any) that the database column value is being compared against; null if no value was specified.

Ð ViewColumnName

The value of the "ViewColumnName" attribute. This is the name of the LearningStore column of the view specified by QueryDefinition.ViewName.